package com.qyhl.module_home.new_message.detail;


import com.qyhl.webtv.commonlib.entity.config.MessageDetailBean;

import java.util.List;

public interface MessageDetailContract {
    interface MessageDetailView {
        void setMessageList(List<MessageDetailBean> beanList, boolean isMore);

        void setNetError(String msg, boolean isMore);

        void setError(String msg, boolean isMore);

        void setEmpty(String msg, boolean isMore);
    }

    interface MessageDetailPresenter {
        void getMessageList(String phone, String time, String msgId, String type);

        void setMessageList(List<MessageDetailBean> beanList, boolean isMore);

        void setError(int code, String msg);
    }

    interface MessageDetailModel {
        void getMessageList(String phone, String sTime, String msgId, String type);
    }
}
